<!DOCTYPE html>
<html xmlns:th="www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>DETAIL ADMIN</title>
<link rel="stylesheet" href="../../css/bootstrap/bootstrap.css"
	th:href="@{/css/bootstrap/bootstrap.css}" />
<script src="../../js/jquery-1.11.2.js" th:src="@{/js/jquery-1.11.2.js}"></script>
<script src="../../js/restaurant.js" th:src="@{/js/restaurant.js}"></script>
<style>
@font-face {
	font-family: 'Glyphicons Halflings';
	src: url('../fonts/glyphicons-halflings-regular.eot');
	src: url('../fonts/glyphicons-halflings-regular.eot?#iefix')
		format('embedded-opentype'),
		url('../fonts/glyphicons-halflings-regular.woff') format('woff'),
		url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),
		url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular')
		format('svg');
}
</style>
</head>
<body>
	<header></header>
	<nav class="navbar navbar-inverse">
		<div class="container-fluid">
			<div class="col-md-offset-1">
				<ul class="nav navbar-nav">
					<li><a><span></span>HOME</a></li>
					<li><a href="#"><span></span>RESTAURANT</a></li>
					<li><a th:href="@{/admin/list}"><span></span>ADMIN</a></li>
					<li><a href="#"><span></span>ORDER</a></li>
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li><a href="#"><span class="glyphicon glyphicon-search"></span>Sign
							Up</a></li>
					<li><a th:href="@{/j_spring_security_logout}"><span
							class="glyphicon glyphicon-log-out"></span>Logout</a></li>
				</ul>
			</div>
		</div>
	</nav>
	<section>
		<article class="container col-sm-10 col-sm-offset-1">
			<ol class="breadcrumb">
				<li><a th:href="@{/adminaccount/home}">Home</a></li>
				<li><a th:href="@{/restaurant/list}">Admin</a></li>
				<li class="active">Detail</li>
			</ol>
			<div class="panel panel-success">
				<div class="panel-heading">ADMIN MANAGEMENT</div>
				<div class="panel-body">
					<div class="form-horizontal container col-sm-10 col-sm-offset-1">
						<div class="form-group">
							<strong class="col-sm-3">Admin Name:</strong>
							<div class="col-sm-9">
								<span th:text="${admin.adminName}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">Admin Email:</strong>
							<div class="col-sm-9">
								<span th:text="${admin.adminEmail}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">User Name:</strong>
							<div class="col-sm-9">
								<span th:text="${admin.adminLoginId}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">Password:</strong>
							<div class="col-sm-9">
								<span th:text="${admin.adminPassword}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">Gender:</strong>
							<div class="col-sm-9">
								<span th:text="${admin.adminGender}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">Birthday:</strong>
							<div class="col-sm-9">
								<span th:text="${admin.adminBirthday}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">Phone Number:</strong>
							<div class="col-sm-9">
								<span th:text="${admin.phoneNumber}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">City Name:</strong>
							<div class="col-sm-9">
								<span th:text="${admin.cityName}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">District Name:</strong>
							<div class="col-sm-9">
								<span th:text="${admin.districtName}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">Created Information:</strong>
							<div class="col-sm-3">
								<span th:text="${admin.createId}"></span>
							</div>
							<div class="col-sm-offset-1 col-sm-3">
								<span th:text="${admin.createTime}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-sm-3">Updated Information:</strong>
							<div class="col-sm-3">
								<span th:text="${admin.updateId}"></span>
							</div>
							<div class="col-sm-offset-1 col-sm-3">
								<span th:text="${admin.updateTime}"></span>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-3">
								<button onclick="backPage()" 
									class="btn btn-primary glyphicon glyphicon-backward">Back</button>
							</div>
							<div class="col-sm-offset-1 col-sm-3">
								<a th:href="@{/member/updateform(username=${admin.adminLoginId})}">
									<button class="btn btn-primary glyphicon glyphicon-edit">Edit</button>
								</a>
							</div>
							<div class="col-sm-offset-1 col-sm-3">
								<a th:href="@{/admin/delete(adminLoginId=${admin.adminLoginId})}">
									<button class="btn btn-primary glyphicon glyphicon-trash">
										Delete</button>
								</a>
							</div>
						</div>
					</div>
				</div>
				<div class="panel-footer"></div>
			</div>
		</article>
	</section>
	<footer class="container col-sm-12">
		<ol class="breadcrumb text-center">
			<li class="active"><p>@copyright - University Of Information
					Technology - Spring + hibernate + css3 + html5</p></li>
		</ol>
	</footer>
</body>
</html>